package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 操行分信息对象 sys_school_score
 * 
 * @author 杨皓焜
 * @date 2021-01-31
 */
public class SysSchoolScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操行分id */
    private Long id;

    /** 学员id */
    @Excel(name = "学员id")
    private Long studentId;

    /** 操作类型 */
    @Excel(name = "操作类型")
    private Long controllerType;

    /** 操行分类型 */
    @Excel(name = "操行分类型")
    private Long type;

    private SysSchoolStudent student;

    public SysSchoolStudent getStudent() {
        return student;
    }

    public void setStudent(SysSchoolStudent student) {
        this.student = student;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setControllerType(Long controllerType) 
    {
        this.controllerType = controllerType;
    }

    public Long getControllerType() 
    {
        return controllerType;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("controllerType", getControllerType())
            .append("type", getType())
            .append("remark", getRemark())
            .toString();
    }
}
